package com.example.demo.service;

import com.example.demo.domin.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {

    List<User> queryAllById(Long id);

    List<User> queryAllByName(String name);

    void save(User user);

}
